package com.qualityevaluationclouduser.repository;

import com.qualityevaluationclouduser.entity.MenuInfo;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @program: qualityEvaluationCloudProject
 * @class: MenuInfoRepository
 * @description: 菜单信息仓库
 * @author:
 * @create:
 **/
@Repository
public interface MenuInfoRepository extends JpaRepository<MenuInfo, Long>, JpaSpecificationExecutor<MenuInfo> {
    boolean existsMenuInfoByMenuname(String menuName);
    void deleteMenuInfosByIdIn(List<Long> idList);

}
